import request from '@/utils/request'

// 查询会员管理列表
export function listAppUserMember(query) {
  return request({
    url: '/app/information/appUserMember/list',
    method: 'get',
    params: query
  })
}

// 查询会员管理详细
export function getAppUserMember(id) {
  return request({
    url: '/app/information/appUserMember/' + id,
    method: 'get'
  })
}

// 新增会员管理
export function addAppUserMember(data) {
  return request({
    url: '/app/information/appUserMember',
    method: 'post',
    data: data
  })
}

// 修改会员管理
export function updateAppUserMember(data) {
  return request({
    url: '/app/information/appUserMember',
    method: 'put',
    data: data
  })
}

// 删除会员管理
export function delAppUserMember(id) {
  return request({
    url: '/app/information/appUserMember/' + id,
    method: 'delete'
  })
}
